<%@page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.category-resources"/>
<html>
<head>
<title>Edit <fmt:message key="category.title"/> <fmt:message key="thesis.title"/></title>

</head>
<body>
<div id="contentarea">
<script type="text/javascript">
$().ready(function() {
	$('#facultyresearchform').validate();
});
</script>      
	<div id="lb"><div id="rb"><div id="bb"><div id="blc">
	<div id="brc"><div id="tb"><div id="tlc"><div id="trc">
	<div id="content">
		<h1><fmt:message key="navigation.edit"/> <fmt:message key="thesis.title"/></h1>
		<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/selectCategory?categoryIdKey=${category_categoryId}&"><span><img src="includes/images/icons/back.gif" /><fmt:message key="navigation.back"/></span></a></div>
		<form:form id="thesisform" action="${pageContext.request.contextPath}/saveCategoryThesises" method="POST" modelAttribute="thesis">
			<form:hidden id="thesis_thesisId" path="thesisId"/>
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<tbody>
									
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesis.title.title"/>:
						</td>
						<td>
							<form:input id="thesis_title" path="title" cssStyle="width:300px;" class="required"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesis_title",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesis.title.help"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesis.abstract_.title"/>:
						</td>
						<td>
							<form:input id="thesis_abstract_" path="abstract_" cssStyle="width:300px;" class="required"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesis_abstract_",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesis.abstract_.help"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesis.proposalattempts.title"/>:
						</td>
						<td>
							<form:input id="thesis_proposalAttempts" path="proposalAttempts" cssStyle="width:300px;" class="digits"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesis_proposalAttempts",widgetType : "dijit.form.NumberTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesis.proposalattempts.help"/>", constraints : {places:0}}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesis.defenseattempts.title"/>:
						</td>
						<td>
							<form:input id="thesis_defenseAttempts" path="defenseAttempts" cssStyle="width:300px;" class="digits"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesis_defenseAttempts",widgetType : "dijit.form.NumberTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesis.defenseattempts.help"/>", constraints : {places:0}}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesis.startdate.title"/>:
						</td>
						<td>
							<input id="thesis_startDate" name="startDate" type="text" value="<fmt:formatDate value="${thesis.startDate.time}" pattern="MM/dd/yyyy h:mm a"/>" style="width:300px;" class="date"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesis_startDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="navigation.dateTime.title"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesis.doi.title"/>:
						</td>
						<td>
							<form:input id="thesis_doi" path="doi" cssStyle="width:300px;"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesis_doi",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesis.doi.help"/>"}})); </script> -->
						</td>
					</tr>
				</tbody>
			</table>
			<span class="inputbutton"><input class="savebutton" id="save" type="submit" value="<fmt:message key="navigation.save"/>"/></span>
			<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'save', event:'onclick'}));</script>
				<input type="hidden" name="category_categoryId" value="${category_categoryId}" >
				
		</form:form>
		<div class="clear">&nbsp;</div>
	</div>
	</div></div></div></div>
	</div></div></div></div>
</div>
</body>
</html>
